package com.szxy.miaosha.service;

import com.szxy.miaosha.domain.MiaoshaUser;
import com.szxy.miaosha.domain.OrderInfo;
import org.springframework.ui.Model;

/**
 * @Author:zwer
 * @Date:2020/9/8 23:33
 * @Description:com.szxy.miaosha.service
 * @Version:1.0
 **/
public interface MiaoShaService {

    /**
     * 商品秒杀
     *
     * @param goodsId
     * @param miaoshaUser
     * @return
     */
    void miaoShao(Model model, long goodsId, MiaoshaUser miaoshaUser);

}
